import request from '@/utils/request'

// 查询考勤数据中间表列表
export function listCust_attend_record(query) {
    return request({
        url: '/ehr/cust_attend_record/list',
        method: 'get',
        params: query
    })
}

// 查询考勤数据中间表详细
export function getCust_attend_record(dataId) {
    return request({
        url: '/ehr/cust_attend_record/' + dataId,
        method: 'get'
    })
}

// 新增考勤数据中间表
export function addCust_attend_record(data) {
    return request({
        url: '/ehr/cust_attend_record',
        method: 'post',
        data: data
    })
}

// 修改考勤数据中间表
export function updateCust_attend_record(data) {
    return request({
        url: '/ehr/cust_attend_record',
        method: 'put',
        data: data
    })
}

// 删除考勤数据中间表
export function delCust_attend_record(dataId) {
    return request({
        url: '/ehr/cust_attend_record/' + dataId,
        method: 'delete'
    })
}